#ifndef BOOK_INFO_MANAGE_H
#define BOOK_INFO_MANAGE_H

#include <QWidget>
#include <QDialog>
#include <QMainWindow>
#include <QSqlQuery>
#include <QSqlDatabase>
#include <QMessageBox>
#include <QDate>
#include <QDebug>
#include <QtSql/QSqlRecord>
#include <QtSql/QSqlTableModel>
#include <QTableView>
#include <QSqlTableModel>
#include <QStandardItemModel>
#include <QModelIndex>
#include "book_info_add.h"

namespace Ui {
class book_info_manage;
}

class book_info_manage : public QWidget
{
    Q_OBJECT

public:
    explicit book_info_manage(QWidget *parent = nullptr);
    ~book_info_manage();
    void bookInfoTableOP();
    void setWinStyle();


private slots:

    void on_delete_pushButton_clicked();


    void on_search_pushButton_clicked();

    void on_add_pushButton_clicked();

private:
    Ui::book_info_manage *ui;
    QSqlTableModel *M;
    book_Info_add *bookInfo_add;

};

#endif // BOOK_INFO_MANAGE_H

